from django_smtpd.message import EmailMessage

def echo(email, sender):
  print 'received an email for %s' % sender

def reply(msg):
 return EmailMessage(from_email='reply@yourdomain.com', to= [msg.from_email], body=msg.body, subject="Re: %s" % msg.subject)
